package besteAukera;

import java.util.Vector;

//Chip bakoitzaren hanka bakoitza(indizea) zein chip-en sarrerekin dagoen lotuta
public class LoturenListak {
	private Vector<Loturak> lotLista = new Vector<Loturak>();

	public LoturenListak() {
	}

	public void loturaGehitu(Loturak l) {
		lotLista.addElement(l);
	}

	public void loturaEzabatu(Loturak l) {
		lotLista.removeElement(l);
	}

	public int putLoturaKopurua() {
		return lotLista.capacity();
	}

	public Vector<Loturak> getLotLista() {
		return lotLista;
	}
}
